package model.dto;

import listboxlib.pageutils.Order;

import java.util.List;

public class ListQueryDTO {
    private ListInfoDTO listInfoDTO;
    /**
     * 条件查询配置集合
     */
    private List<ListConfigDTO> configDTOS;
    /**
     * 排序条件语句
     */
    private String creatorClass;
    /**
     * 列表id
     */
    private Long funcId;
    /**
     * 每页条数
     */
    private Integer limit;
    /**
     * 页码
     */
    private Integer pageIndex;
    /**
     * statement
     */
    private String statement;
    /**
     * 排序列表
     */
    private List<Order> orderList;

    @Override
    public String toString() {
        return "ListQueryDTO{" +
                "listInfoDTO=" + listInfoDTO +
                ", configDTOS=" + configDTOS +
                ", creatorClass='" + creatorClass + '\'' +
                ", funcId=" + funcId +
                ", limit=" + limit +
                ", pageIndex=" + pageIndex +
                ", statement='" + statement + '\'' +
                ", orderList=" + orderList +
                '}';
    }

    public List<ListConfigDTO> getConfigDTOS() {
        return configDTOS;
    }

    public void setConfigDTOS(List<ListConfigDTO> configDTOS) {
        this.configDTOS = configDTOS;
    }

    public String getCreatorClass() {
        return creatorClass;
    }

    public void setCreatorClass(String creatorClass) {
        this.creatorClass = creatorClass;
    }

    public Long getFuncId() {
        return funcId;
    }

    public void setFuncId(Long funcId) {
        this.funcId = funcId;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public String getStatement() {
        return statement;
    }

    public ListInfoDTO getListInfoDTO() {
        return listInfoDTO;
    }

    public void setListInfoDTO(ListInfoDTO listInfoDTO) {
        this.listInfoDTO = listInfoDTO;
    }

    public void setStatement(String statement) {
        this.statement = statement;
    }

    public List<Order> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<Order> orderList) {
        this.orderList = orderList;
    }
}
